#!/bin/bash

RES=`ps -ef | grep gmetad | grep -v grep | grep -v check | wc -l`

if [[ $RES -gt 0 ]] ; then
    echo "gmetad OK"
    exit 0
fi
echo "gmetad CRIT - gmetad is not running"
exit 2


